package mobi.springtour.domain;

import java.util.Date;

public class News {
	final static String EMPTY_STRING = "";
	final static Date EMPTY_DATE = null;
	private String title;
	private String content;
	private Date createDate;

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public News() {
		this.title = this.content = News.EMPTY_STRING;
		this.createDate = News.EMPTY_DATE;
	}

	public News(String title, String content, Date createDate) {
		this.title = title;
		this.content = content;
		this.createDate = createDate;
	}
}
